package com.ylyq.ylxx.service;

public interface IOauthService {
    /**
     * @Author xiaweichao
     * @Description //获取巨量的accessToken和RefeshToken * @Date 17:29 2020/6/23
     * @Param []
     * @return java.lang.String
     **/
    String getAccessToken(String userID, String auth_code);

    //accessToken过期后，用refresh_access_token刷新，获得新的token和新的refrsh_access_token，返回的是access_token
    String reFreshAccessToken(String userID, String refreshToken);

}
